package com.ilink.groundservice.mapper.innovationPlaza;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.ilink.groundservice.entity.PO.innovationPlaza.AnnouncementInfo;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AnnouncementInfoMapper extends BaseMapper<AnnouncementInfo> {
    //
    @Select("SELECT * FROM announcement_info WHERE competition_id = #{id}")
    List<AnnouncementInfo> selectByForeignKeyId(@Param("id") Long id);
}
